package cn.smilefox.domain;

import java.util.List;

public class Course {

    private Long id;
    private String course_name;
    private String grade;
    private String major;
    private String course_num;

    //理论课时合集
    private String test_num;

    public String getTest_num() {
        return test_num;
    }

    public void setTest_num(String test_num) {
        this.test_num = test_num;
    }

    public String getTheory_num() {
        return theory_num;
    }

    public void setTheory_num(String theory_num) {
        this.theory_num = theory_num;
    }

    //实验课程合集
    private String theory_num;
    //添加课程时输入的老师字符串
    private String teacher;

    public String getTeacher() {
        return teacher;
    }

    public void setTeacher(String teacher) {
        this.teacher = teacher;
    }

    //该课程所教导的老师们
    private List<Teacher> teachers;

    //方法集合

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCourse_name() {
        return course_name;
    }

    public void setCourse_name(String course_name) {
        this.course_name = course_name;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getCourse_num() {
        return course_num;
    }

    public void setCourse_num(String course_num) {
        this.course_num = course_num;
    }

    public List<Teacher> getTeachers() {
        return teachers;
    }

    public void setTeachers(List<Teacher> teachers) {
        this.teachers = teachers;
    }

    @Override
    public String toString() {
        return "Course{" +
                "id=" + id +
                ", course_name='" + course_name + '\'' +
                ", grade='" + grade + '\'' +
                ", major='" + major + '\'' +
                ", course_num='" + course_num + '\'' +
                ", test_num='" + test_num + '\'' +
                ", theory_num='" + theory_num + '\'' +
                ", teacher='" + teacher + '\'' +
                ", teachers=" + teachers +
                '}';
    }
}
